import AC from './components/async_load'


export default [
	{
        name: '首页',
        icon: 'home',
        path: '/',
        component: AC(() => import ('./views/home'))
    },
    {
        name: '首页',
        icon: 'home',
        path: '/year/:year',
        component: AC(() => import ('./views/home'))
    },
    {
        name: '首页',
        icon: 'home',
        path: '/type/:type',
        component: AC(() => import ('./views/home'))
    },
    {
        name: '详情',
        path: '/detail/:id',
        component: AC(() => import ('./views/movie/'))
    },{
        name: '后台入口',
        path: '/admin',
        icon: 'admin',
        component: AC(() => import ('./views/admin/login'))
    },{
        name: '后台电影列表',
        path: '/admin/list',
        icon: 'admin',
        component: AC(() => import ('./views/admin/list'))
    }


]